Add close-older-issues feature to create-issue safe output#10882
Add close-older-issues feature to create-issue safe output#10882
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot enable close-older-issues on smoke-claude |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test Results✅ GitHub MCP - #10885, #10859 Status: FAIL (4/5 passed)
|
|
GitHub MCP: ✅ Exclude README.md files from workflow discovery; Add Security Alert Burndown campaign with alert clustering
|
Smoke Test ResultsLast 2 PRs: #10885, #10859 Status: PARTIAL PASS (5/6)
|
|
@copilot format, lint js, fix tests |
Completed:
No code changes were needed as formatting and linting are already clean. |
Adds
close-older-issuesconfiguration tocreate-issuesafe output, automatically closing up to 10 older issues matching the same title prefix and/or labels when creating new issues. Mirrors existingclose-older-discussionsbehavior.Implementation
Go Backend
CloseOlderIssuesfield toCreateIssuesConfigGH_AW_CLOSE_OLDER_ISSUESpasses config to runtimeclose_older_issuesflagSchema
close-older-issuesboolean property tomain_workflow_schema.jsonfalsetitle-prefixorlabelsto be setJavaScript Runtime
close_older_issues.cjs: REST API search and closure logicstate_reason: "not_planned"create_issue.cjshandler with error isolationEnabled in Workflows
close-older-issues: trueinsmoke-claude.mdworkflow to automatically close older smoke test issuesUsage
When enabled, creating issue
[weekly-report] 2024-W03will close older[weekly-report] 2024-W02,[weekly-report] 2024-W01, etc.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Changeset
close-older-issuessupport to thecreate-issuesafe output. When enabled, creating a new issue will close up to 10 older issues that match the configuredtitle-prefixand/orlabels, mirroring existingclose-older-discussionsbehavior.